<div class="login" id="login">
    <div class="wrap">
        <h1>Вход в административный раздел</h1>
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'id' => 'validate',
            'enableClientValidation' => true,
            'clientOptions' => array(
                'validateOnSubmit' => true,
            ),
        ));
        ?>
        <div class="row-fluid">
            <?php $field = 'username'; ?>
            <div class="input-prepend">
                <span class="add-on"><i class="icon-user"></i></span>
                <?php echo $form->textField($model, $field, array('placeholder' => 'Ваша электронная почта')) ?>
            </div>  
            <?php $field = 'password'; ?>
            <div class="input-prepend">
                <span class="add-on"><i class="icon-exclamation-sign"></i></span>
                <?php echo $form->passwordField($model, $field, array('placeholder' => 'Ваш пароль',)); ?>
            </div>          
            <div class="dr"><span></span></div>                                
        </div>                
        <div class="row-fluid">
            <div class="span8 remember">                    
                           
            </div>
            <div class="span4    TAR">
                <input type="submit" class="btn btn-block btn-primary" value="Войти"/>
            </div>
        </div>
        <?php $this->endWidget(); ?>       
    </div>
</div>
